<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="product" tagdir="/WEB-INF/tags/product"%>
<%@ taglib prefix="customer" tagdir="/WEB-INF/tags/customer"%>

<form class="mainForm" name="entityListForm" method="post" id="entityListForm" action="${ctxPath}/customer/feedbackReply.html">
	<c:set var="editURLPath"	value="/customer/feedbackReply.html?doAction=edit&from=list" scope="page" />
	<div class="top clearfix">
		<ul class="tab">
			<li class="curr"><span><fmt:message key="feedbackReplyList.heading"/></span></li>
		</ul>
		<%@include file="/common/pagingOnlyTop.jsp"%>
	</div>
	<div class="data">		
		<c:set var="checkAll">
			<input type="checkbox" name="allbox" onclick="checkAll(this.form)"	class="checkbox" />
		</c:set>
		<c:set var="isNeedTopPaging" value="true"/>
		<display:table name="${feedbackList}" cellspacing="0" cellpadding="0" uid="feedback" class="list_table" style="width:100%;" export="false" requestURI="">
			<display:column class="checkbox_column" style="height:50px;"  title="${checkAll}" media="html">
				<input type="checkbox" name="multiIds" value="${feedback.feedbackId}"
					class="checkbox" title="${feedback.message}" />
			</display:column>
			<display:column style="" sortable="false" headerClass="data-table-title" decorator="com.probiz.estore.core.decorator.TblColumnDecorator"	titleKey="feedback.replyMessage">
				${feedback.message}
			</display:column>
			<display:column style="width: 10%" sortable="false" headerClass="data-table-title" decorator="com.probiz.estore.core.decorator.TblColumnDecorator"	titleKey="feedback.replyUser">
				${feedback.feedbackUserName}
			</display:column>
			<display:column style="width: 10%" sortable="false" headerClass="data-table-title" decorator="com.probiz.estore.core.decorator.TblColumnDecorator"	titleKey="feedback.display">
				<a class="${(feedback.status == 1)?'show':'unShow'}" title="<fmt:message key="feedback.status.${(feedback.status == 1)?'show':'unShow'}"/>">&nbsp;</a>
			</display:column>
		</display:table>
		<%@include file="/common/pagingOnly.jsp" %>
	</div>
</form>
<%--------保存查询条件 -------%>
<%@include file="feedbackReplySearchCriteriaStorage.jspf"%>

<script type="text/javascript">
highlightTableRows("feedback");
$j("#feedback").chromatable({
    width: "100%",
    height: "440px",
    scrolling: "yes"
}); 
$j('input[name="allbox"]:eq(1)').remove(); //使用chromatable后必须把多生成的checkbox去掉
</script>